package com.jz.netthings.application.bodyCheck.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.jz.netthings.application.bodyCheck.bean.BodyCheck;
import com.baomidou.mybatisplus.service.IService;
import com.jz.netthings.application.bodyCheck.bean.BodyCheckInfo;
import com.jz.netthings.application.bodyCheck.bean.BodyCheckStatus;
import com.jz.netthings.application.bodyCheck.bean.MyPage;
import com.jz.netthings.bean.system.JyUser;
import com.jz.netthings.exception.AdscmSystemException;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lzf
 * @since 2019-02-26
 */
public interface BodyCheckService extends IService<BodyCheck> {

    MyPage<BodyCheck> queryByTime(String recodeCreateTime, String bigCreateTime, String lessCreateTime, String cardid, String name, Integer pageSize, Integer currentPage) throws AdscmSystemException;

    Integer updateByBodyCheckNo(BodyCheck bodyCheck) throws AdscmSystemException;

    List<JyUser> queryDoctor(String id);

    List<BodyCheckStatus> bodyCheckStatus(String type);

    BodyCheckInfo BODY_CHECK_INFOS(String id) throws AdscmSystemException;

    List<BodyCheck> queryByName(String name,String bigCreateTime,String lessCreateTime);

//    根据providerNo查询该人是否需要做大体检
    List<BodyCheckInfo> queryByBigCheck(String id) throws AdscmSystemException;
}
